package Helpers;

import VOs.QuoteVO;
import Entity.Quote;

public class QuoteHelper {
	
	public Quote toEntity(QuoteVO vo){
		Quote entity = new Quote();
		entity.setClose(vo.getClose());
		entity.setDate(vo.getDate());
		entity.setHigh(vo.getHigh());
		entity.setId(vo.getId());
		entity.setLow(vo.getLow());
		entity.setOpen(vo.getOpen());
		entity.setStoke(vo.getStock());
		entity.setVolume(vo.getVolume());
		
		return entity;
	}

}
